IdeaBlade DevForce 2010 Help Reference
RelatedEntityList<T> Constructor(IEnumerable<T>,ListEntityReference<T>)
See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > RelatedEntityList<T> Class > RelatedEntityList<T> Constructor : RelatedEntityList<T> Constructor(IEnumerable<T>,ListEntityReference<T>)



collection
List to be contained in the RelatedEntityList
listReference
Creates a new RelatedEntityList ( not a wrapper)

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal collection As IEnumerable(Of T), _
   ByVal listReference As ListEntityReference(Of T) _
)
Visual Basic (Usage)Copy Code
Dim collection As IEnumerable(Of T)
Dim listReference As ListEntityReference(Of T)
 
Dim instance As New RelatedEntityList(Of T)(collection, listReference)
C# 
public RelatedEntityList<T>( 
   IEnumerable<T> collection,
   ListEntityReference<T> listReference
)
C++/CLI 
public:
RelatedEntityList<T>( 
   IEnumerable<T^>^ collection,
   ListEntityReference<T^>^ listReference
)

Parameters

collection
List to be contained in the RelatedEntityList
listReference

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.